﻿//============================================== Configurator ===========================================

function slideConfig(uniqudId, dir) {
    var opposite = (dir == 'Down' ? 'Up' : 'Down');

    $telerik.$(".moduleDivSlimContent")["slide" + dir](300);
    $telerik.$(".moduleDivSlimCollapsible span.configButton")
        .removeClass("toggleUp")
        .removeClass("toggleDown")
        .addClass("toggle" + opposite);

    $telerik.$(".moduleDivSlimCollapsible")[0].href = "javascript:slideConfig('" + uniqudId + "','" + opposite + "');";
    $telerik.$("input[name='" + uniqudId + "']").val(dir == "Down" ? "true" : "false");
}


function openManageProject(strServerURL) {
    var oWnd = radopen("//" + strServerURL + "/GBMS/App_UI/Form/ManageProject.aspx?type=viewonly", "TaskLists");
}